import React, { Component } from "react";

export default class Navbar extends Component {
  render() {
    return <div style={{background:"pink",textAlign:"center",overflow:"hidden"}}>
        <button style={{float:"left",marginLeft:"5px"}} onClick={()=>{
            this.props.myback()
        }}>back</button>
        <span>卖座电影</span>
        <button style={{float:"right",marginRight:"5px"}} onClick={()=>{
            this.props.myevent()
        }}>center</button>
    </div>
  }
}
